Reference: initProc |
initProc initializes per-instance data for a filter.
Prototype |
int initProc(FilterActivation *fa, const FilterFunctions *ff); Parameters: fa Pointer to filter activation structure ff Pointer to callback function structure Return value: Zero on success, non-zero on failure. Exceptions: Except* functions may be called within initProc(). Requirements: Function may be omitted. No default action is taken.
Remarks |
This function is called whenever a filter instance is created, and is usually used to initialize variables in the private data structure. Regardless of whether it is provided, VirtualDub will initialize the data structure to zeroes, so most filters will not need this function.
VirtualDub external filter SDK 1.05 | ©1999-2001 Avery Lee <phaeron@virtualdub.org> |